package com.atguigu.spzx.manager.service.product;

import com.atguigu.spzx.model.dto.product.ProductDto;
import com.atguigu.spzx.model.dto.product.ProductSaveDto;
import com.atguigu.spzx.model.vo.product.ProductVo;
import com.github.pagehelper.PageInfo;

public interface ProductService {
    PageInfo<ProductVo> page(Integer pageNum, Integer pageSize, ProductDto productDto);

    void save(ProductSaveDto productSaveDto);

    ProductSaveDto getById(Long id);

    void updateById(ProductSaveDto productSaveDto);

    void deleteById(Long id);

    void updateAuditStatus(Long id, Integer auditStatus);

    void updateStatus(Long id, Integer status);
}
